package com.sunny.design.builder;

/**
 * @author Sunny
 * @date 2020/3/1
 */
public class FoodTest {
    public static void main(String[] args) {
        FoodBuilder foodBuilder = new FoodBuilder();

        Food food = foodBuilder.name("青椒肉丝")
                .salt(true)
                .cumin(true)
                .soySauce(true)
                .build();

        System.out.println(food);
    }
}
